home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Libraries / Framework / Includes / Default.r < prev    next >
Encoding:
Text File  |  1996-04-03  |  3.8 KB  |  107 lines  |  [TEXT/MPS ]

  1. // Default.r
  2. // Copyright © 1986-96 by Apple Computer, Inc. All rights reserved.
  3.  
  4. // • Auto-Include the requirements for this source
  5.  
  6. #ifndef __AEUSERTERMTYPES__
  7. #include "AEUserTermTypes.r"
  8. #endif
  9.  
  10. #ifndef __TYPES_R__
  11. #include "Types.r"
  12. #endif
  13.  
  14. #ifndef __MacAppTypes__
  15. #include "MacAppTypes.r"
  16. #endif
  17.  
  18. #ifndef __ViewTypes__
  19. #include "ViewTypes.r"
  20. #endif
  21.  
  22. // Get the application's CODE.  Note that this is done this way so that the application can
  23. // be linked and/or rezzed separately.  Also, Rez currently (MPW 3.0) does not support
  24. // -align longword simultaneously with the -append option (but it only tells you if you're
  25. // getting -p progress indication).
  26. #ifndef qPowerPC
  27. #define qPowerPC 0
  28. #endif
  29.  
  30. #ifndef MW_Rez
  31. #if !qNoCode
  32. include $$Shell("ObjApp")$$Shell("XAppName") 'CODE';
  33. #if qModelCFM
  34. include $$Shell("ObjApp")$$Shell("XAppName") 'cfrg';
  35. include $$Shell("ObjApp")$$Shell("XAppName") 'rseg';
  36. #endif
  37. #endif
  38. #endif // !MW_Rez
  39.  
  40. // Basic resources for various purposes.
  41. // Self evident from their names!
  42. include "MacApp.rsrc" not 'ckid';
  43. include "Printing.rsrc" not 'ckid';
  44.  
  45. #if qDebug | qPerform
  46. include "Debug.rsrc" not 'ckid';
  47. include "Dialog.rsrc" not 'ckid';
  48. #endif
  49.  
  50.  
  51. // Now include the "default" resources
  52. // Note: you can pick and choose to selectively replace defaults in your own Rez source.
  53. #if qTemplateViews
  54. include "Defaults.rsrc"  'STR#' (kDefaultWindowTitle);
  55. include "Defaults.rsrc"  'View' (kDefaultViewID);
  56. include "Defaults.rsrc"  'View' (kDefaultWindowID);
  57. #else
  58. include "Defaults.rsrc"  'WIND' (kDefaultWindowID);
  59. #endif
  60.  
  61. include "Defaults.rsrc"  'ALRT' (phAboutApp);
  62. include "Defaults.rsrc"  'CMNU' (mBuzzwords);
  63. include "Defaults.rsrc"  'CMNU' (mApple);
  64. include "Defaults.rsrc"  'CMNU' (mEdit);
  65. include "Defaults.rsrc"  'CMNU' (mFile);
  66. include "Defaults.rsrc"  'DITL' (phAboutApp);
  67. include "Defaults.rsrc"  'MBAR' (kMBarDisplayed);
  68. include "Defaults.rsrc"  'SIZE' (-1);
  69. include "Defaults.rsrc"  'STR#' (kDefaultCredits);
  70. include "Defaults.rsrc"  kAETerminologyExtension (0);
  71.  
  72. #if !qPowerPC
  73. include "Defaults.rsrc"  'seg!' (kDefaultSegResource);
  74. #endif
  75. #if qPowerPC
  76. include "Defaults.rsrc"  'cfrg' (0);
  77. #endif
  78.  
  79. // Get the default MacApp® application icon and necessary bundling rsrcs
  80. include "Defaults.rsrc"  'SS01' (0);
  81. include "Defaults.rsrc"  'FREF' (128);
  82. include "Defaults.rsrc"  'FREF' (129);
  83. include "Defaults.rsrc"  'FREF' (130);
  84. include "Defaults.rsrc"  'BNDL' (128);
  85. include "Defaults.rsrc"  'ICN#' (128);        // Application B&W icon
  86. include "Defaults.rsrc"  'ics#' (128);        // Application B&W small icon
  87. include "Defaults.rsrc"  'ics4' (128);        // Application 8 bit smaller color icon
  88. include "Defaults.rsrc"  'ics8' (128);        // Application 8 bit small color icon
  89. include "Defaults.rsrc"  'icl4' (128);        // Application 8 bit medium color icon
  90. include "Defaults.rsrc"  'icl8' (128);        // Application 8 bit color icon
  91. include "Defaults.rsrc"  'ICN#' (129);        // Document B&W icon
  92. include "Defaults.rsrc"  'ics#' (129);        // Document B&W small icon
  93. include "Defaults.rsrc"  'ics4' (129);        // Document 8 bit smaller color icon
  94. include "Defaults.rsrc"  'ics8' (129);        // Document 8 bit small color icon
  95. include "Defaults.rsrc"  'icl4' (129);        // Document 8 bit medium color icon
  96. include "Defaults.rsrc"  'icl8' (129);        // Document 8 bit color icon
  97. include "Defaults.rsrc"  'ICN#' (130);        // Stationery B&W icon
  98. include "Defaults.rsrc"  'ics#' (130);        // Stationery B&W small icon
  99. include "Defaults.rsrc"  'ics4' (130);        // Stationery 8 bit smaller color icon
  100. include "Defaults.rsrc"  'ics8' (130);        // Stationery 8 bit small color icon
  101. include "Defaults.rsrc"  'icl4' (130);        // Stationery 8 bit medium color icon
  102. include "Defaults.rsrc"  'icl8' (130);        // Stationery 8 bit color icon
  103.  
  104. // Get the default Version resources
  105. include "Defaults.rsrc"  'vers' (1);        // Application or file specific
  106. include "Defaults.rsrc"  'vers' (2);        // Overall package
  107.